<div class="order">
    <el-form :inline="true" :model="searchForm" class="demo-form-inline" label-width="100px" style="width: 100%;">
        

        <el-form-item size="mini" class="label" label="代理商" v-if="checkPermission('searchLifeManager')">
            <el-col>
                <el-select v-model="searchForm.lifeManager" placeholder="代理商" @change="changeSelect('lifeManager')">
                    <el-option label="所有" value=""></el-option>
                    <el-option :label="item.label" v-for="(item,index) in searchOptions.lifeManagerUser"
                        :value="item.value"></el-option>
                </el-select>
            </el-col>
        </el-form-item>


        <el-form-item size="mini" label="生活号">
            <el-select v-model="searchForm.life" placeholder="生活号" @change="changeSelect('life')">
                <el-option label="所有" value=""></el-option>
                <el-option :label="item.label" v-for="(item,index) in searchOptions.life" :value="item.value">
                </el-option>
            </el-select>
        </el-form-item>
        <el-form-item size="mini" label="话务员" v-if="checkPermission('searchSales')">
            <el-select v-model="searchForm.saler" placeholder="话务员">
                <el-option label="所有" value=""></el-option>
                <el-option :label="item.label" v-for="(item,index) in searchOptions.salesUser" :value="item.value">
                </el-option>
            </el-select>
        </el-form-item>
        <el-form-item size="mini" label="商品名称">
            <el-select v-model="searchForm.product" placeholder="商品名称">
                <el-option label="所有" value=""></el-option>
                <el-option :label="item.label" v-for="(item,index) in searchOptions.product" :value="item.value">
                </el-option>
            </el-select>
        </el-form-item>

        <el-form-item size="mini" label="订单状态">
            <el-select v-model="searchForm.status" placeholder="订单状态">

                <el-option  :label="item.label"
                    v-for="(item,index) in searchOptions.orderStatusSearchOptions" :value="item.value"></el-option>
            </el-select>
        </el-form-item>
      
        <el-form-item size="mini" label="申请时间">
            <el-date-picker v-model="searchForm.startDate" value-format="yyyy-MM-dd HH:mm:ss" type="date"
                placeholder="开始时间"></el-date-picker>
            -
            <el-date-picker v-model="searchForm.endDate" value-format="yyyy-MM-dd" type="date" placeholder="结束时间">
            </el-date-picker>
        </el-form-item>
        <el-row>
            <el-row>
                <el-col tag="span" style="width: 100px;text-align: right">
                    <el-button size="mini" type="primary" label="right" @click="download()">下载</el-button>
                </el-col>
            </el-row>
        </el-row>
    </el-form>
    <div>

    </div>


</div>